<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


</body>
<script>
    function getList(){
        var xhr = new XMLHttpRequest()
        // 一般情况post传参数 直接放到send (requestbody/主体传参)
        xhr.open('POST','http://47.116.75.38:8101/web/team/experts/list')

        xhr.setRequestHeader('Content-Type','application/json;charset=UTF-8')
        xhr.send(JSON.stringify({
            // 分页加载 第一页的10条数据
            "current": 1,
            "size": 10,
            "params": {
                "userId": "",
                "areaId": "",
                "teamId": ""
            },
            "orderBy": ""
        }))
        xhr.onload = function (){
            console.log(JSON.parse(xhr.response))
        }
    }
    getList()
</script>
</html>